import typeis from 'type-is';

export const requestTypeis = (contentType: string, types: string[]): string | false =>
  typeis.is(contentType, types);

// TODO: 测试